/*
 * @(#)ResizedBitmap.java $version 2013. 3. 4.
 *
 * Copyright 2007 NHN Corp. All rights Reserved. 
 * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package com.design.oop.util;

import android.graphics.Bitmap;

/**
 * @author kelly
 */
public class ResizedBitmap {
	private int hopefulReiszedBitmapWidth;
	private int hopefulResizedBitmapHeight;
	private Bitmap bitmap;

	public int getHopefulReiszedBitmapWidth() {
		return hopefulReiszedBitmapWidth;
	}

	public void setHopefulReiszedBitmapWidth(int hopefulReiszedBitmapWidth) {
		this.hopefulReiszedBitmapWidth = hopefulReiszedBitmapWidth;
	}

	public int getHopefulResizedBitmapHeight() {
		return hopefulResizedBitmapHeight;
	}

	public void setHopefulResizedBitmapHeight(int hopefulResizedBitmapHeight) {
		this.hopefulResizedBitmapHeight = hopefulResizedBitmapHeight;
	}

	public Bitmap getBitmap() {
		return bitmap;
	}

	public void setBitmap(Bitmap bitmap) {
		this.bitmap = bitmap;
	}

	public void recycle() {
		if (bitmap != null) {
			bitmap.recycle();
			bitmap = null;
		}
	}
}
